<!--编辑部门-->
<div class="modal" id="deptModal" style="display:none;">
	<div class="modal-backdrop" style="height:100%;z-index:8;"></div>
	<div data="check" class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<span class="modal-title ">创建 /编辑部门</span>
			</div>
			<form id="editForm">
				<input type="hidden" name="id" id="id"/>
				<input type="hidden" name="fid" id="fid"/>

				<div class="modal-body report-modal" style="padding:15px">
					<table>
						<tr>
							<td style="width: 80px;">部门名称<span class="fcr">*</span></td>
							<td><input type="text" class="role-minput" name="name" id="name"/></td>
						</tr>
						<tr class="tr_parent">
							<td>上级部门</td>
							<td>
								<div class="pass_shen" style="margin-left:0">
									<input type="hidden" name="pid" id="pid">
									<input readonly="readonly" type="text"
										   name="pname" id="pname"
										   class="role-minput pass_on boxes_cu" value="">
									<!---->
									<div class="pass_text Pop_up_box">
										<div class="pass_con">
											<div class="pass_con_title">
												<input id="keyword" type="text" class="pass_search" placeholder="查找部门">
											</div>
											<h1>所有类型</h1>
											<ul id="listDept" class="pass_con_list mt5 ">

											</ul>
											<div class="cl"></div>
										</div>
									</div>
									<!---->
								</div>
							</td>
						</tr>
					</table>

					<div class="cl"></div>
				</div>
				<div class="cl"></div>
				<div class="modal-footer">
					<a class="btn modal-cancel" id="btnCancel" onclick="document.getElementById('deptModal').style.display='none'">取消</a>
					<a class="btn green" id="btnSaveDept" onclick="saveType()">提交</a>
				</div>
				<div class="cl"></div>
			</form>

		</div>
	</div>
</div>
<!--编辑会员信息-->
<div class="modal" id="addEmployeeModal" style="display: none;">
	<div class="modal-backdrop" style="height:100%;z-index:8;"></div>
    <div data="check" class="modal-dialog" style="width: 820px;margin-left: -410px;top:90px;">
        <div class="modal-content">
            <div class="modal-header">
                <span class="modal-title" id="employee_modal_title">填写员工基本信息</span>
				<span class="modal-close" style=" margin-left:90%" title="关闭" onclick="document.getElementById('addEmployeeModal').style.display='none'">×</span>				
            </div>
            <form id="employeeForm" action="/backend/orgStaffMangeSubmit" method="post">
            {{csrf_field()}}
                <input type="hidden" name="id" id="id">

                <div class="modal-body" style="padding: 10px;  max-height: 500px;">
                    <div style="width: 50%;float: left">
                        <table cellpadding="0" cellspacing="0" class="jueszu_tab" style="width: 100%; margin-bottom: 10px;">
                            <tbody><tr>
                                <td class="jueszu_tab_f" align="right">
                                    <div class="inbox-nav" style="text-align: right"><span style="padding: 5px 0;">基本信息</span></div>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <input type="hidden" name="userId" id="userId" value="">
                                <td class="jueszu_tab_f" align="right">邮箱 <span class="colorf00">*</span></td>
                                <td class="jueszu_tab_s pl10">
                                    <input type="text" value="" placeholder="邮箱" class="inputStyle w200" name="email" id="email">
                                </td>
                            </tr>
                            <tr>
                                <td class="jueszu_tab_f" align="right">姓名 <span class="colorf00">*</span></td>
                                <td class="jueszu_tab_s pl10">
                                    <input type="text" value="" placeholder="姓名" class="inputStyle w200" name="name" id="username" maxlength="20">
                                </td>
                            </tr>
                            <tr>
                                <td class="jueszu_tab_f" align="right">性别</td>
                                <td class="jueszu_tab_s pl10">
                                    <div class="left">
                                        <input type="radio" name="sex" value="0" id="sex0">
										<label for="sex0">男</label>
                                    </div>
                                    <div style="padding-left: 20px" class="left">
                                        <input type="radio" name="sex" value="1" id="sex1">
										<label for="sex1">女</label>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="jueszu_tab_f" align="right">手机</td>
                                <td class="jueszu_tab_s pl10">
                                    <input type="text" value="" placeholder="手机" name="phone" id="phone" class="inputStyle w200">
                                </td>
                            </tr>
                            <tr>
                                <td class="jueszu_tab_f" align="right">微信</td>
                                <td class="jueszu_tab_s pl10">
                                    <input type="text" value="" placeholder="微信" name="wechat" id="wechat" class="inputStyle w200">
                                </td>
                            </tr>
                            <tr>
                                <td class="jueszu_tab_f" align="right">生日</td>
                                <td class="jueszu_tab_s pl10">
                                    <input type="date" placeholder="生日" name="birthday" id="birthday" class="inputStyle w200">
                                </td>
                            </tr>
                        </tbody>
						</table>
                    </div>
                    <div style="width: 50%;float: right">
                        <table cellpadding="0" cellspacing="0" class="jueszu_tab" style="width: 100%;margin-bottom: 10px;">
                            <tbody>
								<tr>
									<td class="jueszu_tab_f" align="right">
										<div class="inbox-nav" style="text-align: right"><span style="padding: 5px 0;">职务信息</span></div>
									</td>
									<td></td>
								</tr>
								<tr>

									<td class="jueszu_tab_f" align="right">入职时间</td>
									<td class="jueszu_tab_s pl10">
										<input type="date" value="" placeholder="入职时间" class=" inputStyle w200" name="joinDate" id="joinDate">
									</td>
								</tr>
                          <tr>
                          <!--<td class="jueszu_tab_f" align="right">所属部门 <span class="colorf00">*</span></td>

							<td>
								<input type="hidden" name="user_id"  value="">
								<input type="radio" name="deptUserId" id="deptUserId" value="">
							</td>
                            </tr>
							-->

                            <tr>
                                <td class="jueszu_tab_f" align="right">平台角色</td>
                                <td class="jueszu_tab_s pl10">
                                    <div class="left">
                                        <input type="radio" name="gid" value="1" id="gid1">
										<label for="gid1">管理员</label>
                                    </div>
                                    <div style="padding-left: 20px" class="left">
                                        <input type="radio" name="gid" value="2" id="gid2">
										<label for="gid2">普通用户</label>
                                    </div>
                                </td>
                            </tr>

                        </tbody>
                        </table>
                    </div>
                    <div class="cl"></div>
                    <div id="costBasicRecord"></div>
                </div>
                <div class="cl"></div>
                <div class="modal-footer">
                    <input type="submit" value="提交" class="btn green" id="btnSaveUserSubmit">
                </div>
                <div class="cl"></div>
            </form>
        </div>
    </div>
</div>
